<div id="footer"><p><a href="index">Craft and Talk</a> by KVB</p><small style="color:gray;margin:0;padding:0;"><em>Some hours were spent on this by shr(kv|sv)</em></small></div>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
<script src="js/search.js"></script>
<script>
function google(event){
	if (event.keyCode == 13) {
		//var query = encodeURIComponent( document.getElementById('googleSearch').value );
		var query = document.getElementById('googleSearch').value;
		console.log(query);
		var url = 'http://www.google.com/cse?cx=004529691173953555787%3Adm_z5xb7hn0&ie=UTF-8&q=green&sa=Search&siteurl=www.google.com%2Fcse%2Fhome%3Fcx%3D004529691173953555787%3Adm_z5xb7hn0&ref=www.google.com%2Fcse%2Fmanage%2Fall&ss=210j16358j4#gsc.tab=0&gsc.q=green&gsc.page=1'
		var url = url.replace(/green/g, query);
		window.open(url, '_blank');
		window.focus();
	}
}
</script>